﻿using System;
using System.Net;
using System.Net.Sockets;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using SilverlightClientLibrary.Messages;

namespace HostLibrary.Hosts
{
    public class TcpHost
    {
        private TcpListenerController littleClients;
        private TcpListenerController bigClients;

        public TcpHost()
        {
            littleClients = new TcpListenerController(4502, 16);
            bigClients = new TcpListenerController(4503, 1024);
        }

        public void Start()
        {
            littleClients.Start();
            bigClients.Start();
        }

        public void Stop()
        {
            littleClients.Stop();
            bigClients.Stop();
        }
    }
}
